<!--
描述：试题检测信息-查詢组件
开发人：hqj
开发日期：2018年11月09日
-->

<template lang="pug">
    kalix-search(title="试题检测信息查询" v-bind:searchFields="searchFields")
</template>

<script type="text/ecmascript-6">
    export default {
        name: 'QuestionsTestingSearch',
        data() {
            return {
                searchFields: [
                    {label: '题型', prop: 'questionType', type: 'dict', appName: 'enrolment', dictType: '题型', req: true},
                    {label: '创建者', prop: 'createBy'},
                    {label: '创建日期', prop: 'creationDateBegin', type: 'date', field: 'creationDate:begin:gt'},
                    {label: '-', prop: 'creationDateEnd', type: 'date', field: 'creationDate:end:lt'},
                    {label: '题干', prop: 'stem'},
                    {
                        label: '删除状态', prop: 'delFlag', type: 'select', options: [
                        {value: '0', label: '有效'},
                        {value: '1', label: '已删除'}
                    ]},
                    {
                        label: '排重比对状态', prop: 'compareFlag', type: 'select', options: [
                        {value: '0', label: '未比对'},
                        {value: '1', label: '已比对'}
                    ]},
                    {
                        label: '排重处理状态', prop: 'repeatedFlag', type: 'select', options: [
                        {value: '0', label: '未处理'},
                        {value: '1', label: '已处理'}
                    ]},
                    {
                        label: '审核状态', prop: 'checkFlag', type: 'select', options: [
                        {value: '0', label: '未审核'},
                        {value: '1', label: '已通过'},
                        {value: '2', label: '未通过'}
                    ]}
                ]
            }
        },
        components: {}
    }
</script>

<style scoped lang="stylus" type="text/stylus">
</style>
